﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH.Purchase.Model
{
    [Serializable]
    public partial class Purchase_Info
    {
        public Purchase_Info()
        { }
        #region Model
        private int _id;
        private int _userid = 0;
        private string _productname = "";
        private string _title = "";
        private int _buycount = 0;
        private decimal _price = 0.00M;
        private string _contnet = "";
        private string _standard = "";
        private int _type = 1;
        private string _coverage = "";
        private int _status = 2;
        private int _isdelete = 1;
        private string _imgurl = "";
        private int _validity = 0;
        private DateTime _updatetime = DateTime.Now;
        private DateTime _createtime = DateTime.Now;
        private DateTime _endtime = DateTime.Now;
        private string _address = "";
        private int _viewcount = 0;
        private int _realviewcount = 0;
        private int _flag = 1;
        private string _code = "";
        private string _unit = "";
        private string _summary = "";
        private string _keywords = "";
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 商家编号 
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 求购商品
        /// </summary>
        public string ProductName
        {
            set { _productname = value; }
            get { return _productname; }
        }
        /// <summary>
        /// 采购标题 
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 求购数量 
        /// </summary>
        public int BuyCount
        {
            set { _buycount = value; }
            get { return _buycount; }
        }
        /// <summary>
        /// 产品单价 
        /// </summary>
        public decimal Price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 采购内容 
        /// </summary>
        public string Contnet
        {
            set { _contnet = value; }
            get { return _contnet; }
        }
        /// <summary>
        /// 产品规格 
        /// </summary>
        public string Standard
        {
            set { _standard = value; }
            get { return _standard; }
        }
        /// <summary>
        /// 采购信息类型 
        /// </summary>
        public int Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 没用到
        /// </summary>
        public string Coverage
        {
            set { _coverage = value; }
            get { return _coverage; }
        }
        /// <summary>
        /// 0:删除  1:审核中  2:正常  3:未通过  4:已过期
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 是否删除 0为删除 1为正常
        /// </summary>
        public int IsDelete
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 封面图片
        /// </summary>
        public string ImgUrl
        {
            set { _imgurl = value; }
            get { return _imgurl; }
        }
        /// <summary>
        /// 有效天数
        /// </summary>
        public int Validity
        {
            set { _validity = value; }
            get { return _validity; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 地区范围
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 访问次数
        /// </summary>
        public int ViewCount
        {
            set { _viewcount = value; }
            get { return _viewcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int RealViewCount
        {
            set { _realviewcount = value; }
            get { return _realviewcount; }
        }
        /// <summary>
        /// 1:主站  2:魏都区 3:天助网  4:长垣  0:其它网站抓取的
        /// </summary>
        public int Flag
        {
            set { _flag = value; }
            get { return _flag; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Summary
        {
            set { _summary = value; }
            get { return _summary; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string KeyWords
        {
            set { _keywords = value; }
            get { return _keywords; }
        }
        #endregion Model

    }
}
